package com.train.pojo;

import java.util.Date;

public class Subscribe {
    private Integer subscribeId;

    private Integer courseId;

    private String openid;

    private Date subscribeCreateTime;

    private Date subscribeUpdateTime;

    public Subscribe(Integer subscribeId, Integer courseId, String openid, Date subscribeCreateTime, Date subscribeUpdateTime) {
        this.subscribeId = subscribeId;
        this.courseId = courseId;
        this.openid = openid;
        this.subscribeCreateTime = subscribeCreateTime;
        this.subscribeUpdateTime = subscribeUpdateTime;
    }

    public Subscribe() {
        super();
    }

    public Integer getSubscribeId() {
        return subscribeId;
    }

    public void setSubscribeId(Integer subscribeId) {
        this.subscribeId = subscribeId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Date getSubscribeCreateTime() {
        return subscribeCreateTime;
    }

    public void setSubscribeCreateTime(Date subscribeCreateTime) {
        this.subscribeCreateTime = subscribeCreateTime;
    }

    public Date getSubscribeUpdateTime() {
        return subscribeUpdateTime;
    }

    public void setSubscribeUpdateTime(Date subscribeUpdateTime) {
        this.subscribeUpdateTime = subscribeUpdateTime;
    }
}